import { log } from 'console'
import { reactive, ref, onMounted, nextTick } from 'vue'
export default function approvalModel(RefShowPdf?) {
  // 怎么设计 1 弹框出现 2 再说其他的
  const RefAddRelated=ref<{show:(type:string,row?:any)=>void,resetStyle:(row?:any)=>void}>()
  const btnAdd=()=>{
    RefAddRelated.value?.show('1')
  }
  return{
    RefAddRelated,btnAdd
  }
}